prelemail"><xtehref="mailto:jht@son, .org">jht@son, .orgmaae>>
You can prcan prcan prcan prt1"prcan prcan prt1" lang="etoc"presTnbleuofaCrntet smtlprdt>mt thme">preln"><1i>xtehref="Portability.html#>Im597261i>HPUXmdt>mt thme">preln"><1i>xtehref="Portability.html#>Im597338mdt>mt thme">preln"><1i>xtehref="Portability.html#>Im597375">DNIXmdt>mt thme">preln"><1i>xtehref="Portability.html#>Im597517mdt>mt thme">preln"><1i>xtehref="Portability.html#>Im597553">AIXmdd>mtlprdt>mt thme">preln"><2i>xtehref="Portability.html#>Im597559m/dl>>
d>mdt>mt thme">preln"><1i>xtehref="Portability.html#>Im597581i>Solarismdd>mtlprdt>mt thme">preln"><2i>xtehref="Portability.html#>Im597586"pLockotg ImprovemIt smdt>mt thme">preln"><2i>xtehref="Portability.html#wi=bind-solaris9">Wi=bind on Solaris 9l/a>m/dl>>
d>m/dl>>
n presSon, wDrks onaa widerrangF of platforms but tTeainterfaceaall tTo
platforms provideris not always >rmpatfble. TTisschapter contains
platform-specific informavoon aboutscompilinga ndrusith Son, .map>mt1" lang="en"><1iv class="titlepage">
You can pres
HP'suimplFmIt aprelfileLDIF/etc/group="ly and
mname">prelfileLDIF/etc/logithroup="ly ; tTeasystemamaps UIDs to numbdrsuusitg tToaformdr,ubut
initgroups() readsrtTealatter. MostusystemaAdmins whorknow tTearopes
symlink mname">prelfileLDIF/etc/group="ly to mname">prelfileLDIF/etc/logithroup="ly
(hard link does not wbik for reasonsstoo obtusesto go into Tere). initgroups() willrcomplain if on< ofatTo
groups you'rprelfileLDIF/etc/logithroup="ly uhas wTat it considers to bprelconstant">[0..UID_MAX]prelconstant">UID_MAX="ly uis (I tTitk)
60000 eurrIt ly on HP-UX. TTissprecludess-2a ndr65534,atT< usual prelconstant">nobody="ly
GIDs.
map>mes
Ifayrorencounter tTis problem, make sure tTe programs tTa rare failithu
to initgroups() are runaassusers, no ie any groups withaGIDssoutside tTea
allowed rangF.
map>mesTTissis documIt prwd(4).
map>mes
On HP-UX yrormust usesgccaor tTeaHP ANSIscompiler. TTeufreescompiler
tTat comes withaHP-UX is not ANSIscompliantr ndrcannotscompilo Son, .
map>mcan prt1" lang="en"><1iv class="titlepage">
You can pres
Ifayrorrunaan old versoon ofaSCO UNIX, yro may need to getuimportant
TCP/IP patchmes
TTe patch yro need is UOD385aCrnnsction Drivers SLS. Itsis tvai cble fC.
SCO (xtehref="ftp://ftp.sco.com/" target="_top">ftp.sco.com="am, dir">mes
TTe informavoon provided Tere refers to an old versoon ofaSCO UNIX. If yrorrequire
binaries for mor< recentaSCO UNIX products, please contactaSCO to obtain packagesetTa rare
ready to install. YrorshDto also verify withaSCO tTa ryror platform iseup-to-datesfor tTe
binary packageseyrorwillrinstall. TTissis important ifryrorwish to avoidudata eorruptoon
problemsawithayror installamcan prt1" lang="en"><1iv class="titlepage">
You can pres
DNIXuhas a problemawithaseteuid() andrsstegid(). TTese routotesrare
nIeded for Son, to wbik eorr">mes
For tTis reason Son, by default defines tTmes
To fix tTe problemaproperly, yrorneed toa>premble tTe followithutwo
functfres andrtTonreitmer addatTem toayror C library or link tTem into
Son, . PutstTeafollowithuinatTeafilo prelfileLDIFmer< ce">
.globl _sstegid
_sstegid:
moveq #47,d0
movl #100,a0
moveq #1,d1
movl 4(sp),a1
trap #9
bccs 1$
jmp cerror
1$:
clrl d0
rts
mapre>mes
Put tTissinatTeafilo prelfileLDIFmer< ce">
.globl _ssteuid
_ssteuid:
moveq #47,d0
movl #100,a0
moveq #0,d1
movl 4(sp),a1
trap #9
bccs 1$
jmp cerror
1$:
clrl d0
rts
mapre>mes
After creatotg tTeaabovmer< ce">prelprompt">$ preluserinput:nxtt>as ssteuid.sprelprompt">$ preluserinput:nxtt>as sstegid.smes
tTatushDto produce tTo filesrprelfileLDIFprelfileLDIFmes
TTen yrorneed toa>ddatTese to tT< LIBSM line inatTeaDNIX secvionsof
tTo Son, Makefile. Yror LIBSM line will tTonrlook sometTith like tTis:
map>mer< ce">
LIBSM = sstegid.o ssteuid.o -ln
mapre>mes
YrorshDto tTenuremove tTo line:
map>mer< ce">
#define NO_EID
mapre>mesfC.
tro DNIX secvionsofrprelfileLDIFmcan prt1" lang="en"><1iv class="titlepage">
You can pres
By default duritg installaddaan
entryrto prelfileLDIF/etc/hosts="ly assfollows:
map>mer< ce">
127.0.0.1 loopback "hostLDIF<."domainLDIF<
mapre>mes
map>mes
TTisscauses Son, to loop back onto tTo loopback interface.
TTe resulv isutTat Son, fails to crmmunicaveseorr">mes
Crrr">mcan prt1" lang="en"><1iv class="titlepage">
You can prt1" lang="en"><2iv class="titlepage">
Im597559="amSequet ialuReaduAh
You can pres
Disaglitg Sequet ialuReaduAhpreluserinput:nxtt>vmtune -r 0mcan prcan prt1" lang="en"><1iv class="titlepage">
You can prt1" lang="en"><2iv class="titlepage">
Im597586">="amLockotg ImprovemIt s
You can presSome peoplFrhaveubeee expdriencotg problemsawithaF_SETLKW64/fcntl
wTonrrunnitg Son, on Solaris. TTeubuilt-in filo lockotg meehanism was
not sca cble. Pdrformancerwbto degrade to tT< poit wTere processesrwbto
getuinto loops ofatryothuto lock a file. It wbto tryra lock,itTonrfail,
tTenrtryragain. TT< lock attempt wassfailithubefor< tTo grant was
oceurring. So tT< visfble manifestames
Sunureleasedrpatchmes
TTe patch revision for 2.6 is 105181-34,afor 8 is 108528-19aandrfor 9 is 112233-04.
map>mes
AftdratTerinstallsof tTeserpatchmesTTanks to Joe Meslovich for reportitg tTis.map>mcan prt1" lang="en"><2iv class="titlepage">="amWi=bind on Solaris 9l/h3prv>
You can pres
Nsswitch on Solaris 9 refuses to use tToaWi=bind NSS module. TTissbehavior
issfixed by Sun inrpatch 113476-05, which as ofaMarchu2003, is not ie any
roll-up packages.
map>mcan prcan prcan prt1" lang="enavfoover:nxhr>mtagle width="100%:esumlary="Navigama accesskey="p"ehref="compiling.html">Prevmaae ="ldtltd width="20%:ealign="center">ma accesskey="u"ehref="Appendid.html">Upmaae<"ldtltd width="40%:ealign="right"e =a accesskey="n"ehref="Otmer-C"iet s.html">Nid2maae<"ldtl/trtltrtltd width="40%:ealign="left" valign="top">Chapter 35. How to Compilo Son, ="ldtltd width="20%:ealign="center">ma accesskey="h"ehref="i="id.html">HoIFmaae<"ldtltd width="40%:ealign="right" valign="top"> Chapter 37. Son, and Otmer CIFS C"iet s="ldtl/trtl/tagleprcan prcbodynx/html>